import { RouteRecordRaw } from 'vue-router';

const commonRouter: Array<RouteRecordRaw> = [
    {
        path: '/carousel',
        name: 'carousel',
        component: () => import('@/views/goods-config/carousel/List.vue'),
        meta: {
            showMenu: true,
            title: '轮播图配置'
        }
    },
    {
        path: '/hot-sell',
        name: 'hotSell',
        component: () => import('@/views/goods-config/hot-sell/List.vue'),
        meta: {
            showMenu: true,
            title: '热销商品配置'
        }
    },
    {
        path: '/new-product',
        name: 'newProduct',
        component: () => import('@/views/goods-config/new-product/List.vue'),
        meta: {
            showMenu: true,
            title: '新品配置'
        }
    },
    {
        path: '/recommend',
        name: 'recommend',
        component: () => import('@/views/goods-config/recommend/List.vue'),
        meta: {
            showMenu: true,
            title: '推荐配置'
        }
    },
]

export default commonRouter;